package com.example.demo.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Tag(name = "测试", description = "用户相关操作")
@RestController
@RequestMapping("/hello")
public class HelloController {
    @Operation(summary = "测试接口", description = "返回所有用户的列表")
    @GetMapping("/world")
    public String hello(){
        return "hello world";
    }
}
